﻿<UserControl x:Class="Hardanger.View.Partial.SessionView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="600" d:DesignWidth="800">
	<Grid>
        <Grid.Resources>
            <BooleanToVisibilityConverter x:Key="VisibilityOfBool" />
        </Grid.Resources>
        <Label Content="Id:" Height="28" HorizontalAlignment="Left" Margin="14,12,0,0" Name="label4" VerticalAlignment="Top" FontWeight="Bold" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="44,17,0,0" Name="txtFiddlerId" VerticalAlignment="Top" Width="55" Text="{Binding FiddlerId}"/>
        <Label Content="Http Verb" Height="28" HorizontalAlignment="Left" Margin="105,12,0,0" Name="label5" VerticalAlignment="Top" FontWeight="Bold" />
		<TextBlock Height="23" HorizontalAlignment="Left" Margin="177,17,0,0" Name="txtHttpVerb" Text="{Binding Method}" VerticalAlignment="Top" Width="71" />
        <Label Content="Port" Height="28" HorizontalAlignment="Left" Margin="687,12,0,0" Name="label6" VerticalAlignment="Top" FontWeight="Bold" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="725,17,0,0" Name="txtPort" Text="{Binding Port}" VerticalAlignment="Top" Width="48" />
        <Label Content="SSL" Height="28" HorizontalAlignment="Left" Margin="771,12,0,0" Name="label7" VerticalAlignment="Top" Visibility="{Binding SSL,Converter={StaticResource VisibilityOfBool}}" FontWeight="Bold" />
        <Label Content="Uri:" Height="28" HorizontalAlignment="Left" Margin="14,41,0,0" Name="label1" VerticalAlignment="Top" FontWeight="Bold" />
        <TextBlock Height="23" HorizontalAlignment="Stretch" Margin="44,46,13,0" Name="txtUri" Text="{Binding Uri}" VerticalAlignment="Top" />
        <Label Content="Host Name" Height="28" HorizontalAlignment="Left" Margin="251,12,0,0" Name="label8" VerticalAlignment="Top" FontWeight="Bold" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="330,17,0,0" Name="txtHostName" Text="{Binding Hostname}" VerticalAlignment="Top" Width="351" />
		<Border Margin="12,75,12,12" BorderBrush="Black"  BorderThickness="1">
		<ScrollViewer  VerticalScrollBarVisibility="Auto">
			
        <StackPanel  Name="stackPanel1" CanVerticallyScroll="True">
        <Label Content="Http Headers" Height="28" HorizontalAlignment="Left" Name="label9" VerticalAlignment="Top" FontWeight="Bold" />
        <ListView HorizontalAlignment="Stretch"  Name="lstHeaders" ItemsSource="{Binding Headers}"  SelectionMode="Single">
            <ListView.View>
                <GridView>
                    <GridViewColumn Width="150" Header="Header"  DisplayMemberBinding="{Binding Path=Key}" />
                    <GridViewColumn Header="Value"  DisplayMemberBinding="{Binding Path=Value}" />
                </GridView>
            </ListView.View>
        </ListView>
        <Label Content="Get Parameters" Height="28" HorizontalAlignment="Left" Name="label10" VerticalAlignment="Top" FontWeight="Bold" />
        <ListView HorizontalAlignment="Stretch" Name="lstGet" ItemsSource="{Binding Get.Parameters}"  SelectionMode="Single">
            <ListView.View>
                <GridView>
                    <GridViewColumn Width="150" Header="Parameter"  DisplayMemberBinding="{Binding Path=Key}" />
                    <GridViewColumn Header="Value"  DisplayMemberBinding="{Binding Path=Value}" />
                </GridView>
            </ListView.View>
        </ListView>
        <Label Content="Post Parameters" Height="28" HorizontalAlignment="Left" Name="label11" VerticalAlignment="Top" FontWeight="Bold" />
        <ListView HorizontalAlignment="Stretch"  Name="lstPost" ItemsSource="{Binding Post.Parameters}"  SelectionMode="Single">
            <ListView.View>
                <GridView>
                    <GridViewColumn Width="150" Header="Parameter"  DisplayMemberBinding="{Binding Path=Key}" />
                    <GridViewColumn Header="Value"  DisplayMemberBinding="{Binding Path=Value}" />
                </GridView>
            </ListView.View>
        </ListView>
        </StackPanel>
			
		</ScrollViewer>
		</Border>
	</Grid>
</UserControl>
